package avicit.platform.hbase;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
 * 默认id为rowkey.如果id不是rowkey,当转换Put时,会报错.
 * 默认所有的字段类型为String.如不是String.转换会错误.
 * 可以补充HBaseUtil的转换.
 * @author geyf
 * @createTime 2016-09-01
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD })
@Inherited
public @interface ORMHBaseColumn {
	
	public String family() default "";
	public String qualifier() default "";
	public boolean timestamp() default false;
}
